<template>
    <div class="taskExplain">
        <x-header :left-options="{showBack: true,backText:'作业详解'}" class="headerBox"></x-header>
        <div class='examCont'>
            <div class='testContent clearfix'>
                <div class='testContent-type clearfix'>判断题</div>
                <div class='testContent-title'>
                “古往今来，人们虽然提到庐山，总是把它和云雾连在一起。”这句话中的关联词运用是否正确。
                </div>
                <div class='testOpt active-true'>
                    <div class='testOpt-left'>A</div>
                    <div class='testOpt-right'>正确</div>
                </div>
                <div class='testOpt'>
                    <div class='testOpt-left'>B</div>
                    <div class='testOpt-right'>错误</div>
                </div>

                <div class='explainTitle'><span>试题详解</span></div>
                <div class='explainCont'>
                    <div class='answer'>答案：A</div>
                    <div class='explainTxt'>试题解析：内容内容内容内容内容内容内容内容内容内容内容内容</div>
                    <div class='keys'>考点：<span>四则运算</span></div>
                </div>
            </div>
        </div>
            <!-- 底部按钮 -->
        <div class='submits'>
            <div class='submitBtn true'>
                <img src='../assets/images/true10.png'/>8
            </div>
            <div class='submitBtn false'>
                <img src='../assets/images/false10.png'/>8
            </div>
            <div class='statistics'>
                <img src='../assets/images/subject02.png'/>16
                <span class='color_gray9'>/16</span>
            </div>
        </div>
    </div>
</template>

<script>
    import { XHeader} from "vux";
    export default {
        components: {
            XHeader
        },
    }
</script>

<style lang="less" scoped>
.taskExplain{
    /deep/.headerBox {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    .vux-header-left {
      left: 24px;
      .vux-header-back {
        color: #000;
      }
      .left-arrow:before {
        border-color: #000;
      }
    }
    .vux-header-title{
        color: #000;
        font-size: 30px;
    }
  }

  .examCont{
    background: #fff;
    padding: 30px;
    .testContent {
      width: 100%;
      vertical-align: middle;
      font-size: 32px;
      padding-bottom:20px;
      .testContent-type {
        float: left;
        font-size: 22px;
        border: 2px solid #1f7aff;
        border-radius: 20px 0 20px 0;
        padding: 2px 15px;
        color: #1f7aff;
        margin-right:8px;
      }
      .testContent-title {
        font-size: 34px;
        /* line-height: 38rpx; */
        margin-top: -8px;
      }
      .testOpt {
        margin: 20px;
        display: flex;
        align-items: center;
        .testOpt-left {
          width: 60px;
          height: 60px;
          line-height: 60px;
          text-align: center;
          border-radius: 50%;
          border: 1px solid #e4e4e4;
        }
        .testOpt-right {
          font-size: 36px;
          margin-left: 30px;
        }
      }
      .active-true{
        .testOpt-left {
          background-color: #1390f5;
          color: #fff;
        }
        .testOpt-right {
          color: #2979fe;
        }
      }
      .explainTitle{
        height:1px;
        background:#eee;
        text-align:center;
        margin-top:80px;
        span{
          background:#fff;
          padding:0 15px;
          font-size:32px;
          position:relative;
          top:-21px;
        }
      }
      .explainCont{
        margin-top:80px;
        padding: 50px 30px;
        box-shadow:0 0 10px 5px #eee;
        .answer{
          font-size: 34px;
          margin-bottom: 30px;
        }
        .explainTxt{
          font-size: 34px;
          line-height: 1.6;
        }
        .keys{
          font-size: 32px;
          margin-top: 30px;
          span{
            font-size: 24px;
            color: #aaa;
            border: 2px solid #aaa;
            padding: 5px 10px;
            border-radius: 10px;
          }
        }
      }
    }
  }
  /* 底部按钮 */
  .submits{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding: 30px;
    border-top: 1px solid #eee;
    background: #fff;
    .submitBtn{
      font-size:30px;
      margin-right: 50px;
      img{
        width: 30px;
        height: 30px;
        vertical-align: middle;
        margin-right: 10px;
      }
    }
    .true{
      color: #1E84EC;
    }
    .false{
      color: #F13232;
    }
    .statistics{
      font-size:30px;
      img{
        width: 27px;
        height: 27px;
        vertical-align: middle;
        margin-right: 10px;
      }
    }
  }
  .clearfix:after{
   content:".";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
  }
  .clearfix{zoom:1;}

}

</style>